/* Base */
html { overflow-Y: scroll; }

body {
	margin: 0px;
	background-image: url(images/background.png);
}

h1 {
	margin-top: 10px;
	margin-bottom: 10px;
	color: rgb(201,179,133);
	font-size: 30px;
}
h2 { font-size: 14px; color: #4ABEC8; }

h3 { font-size: 12px; color: rgb(147, 137, 90); }

.smallFont { font-size: 12px; }

#indexPage b { color: rgb(147, 137, 90) }

ol { line-height: 175% }

i {	color: rgb(225,183,135); font-size: 110%; }

.blue { color: #4ABEC8 }

.gill-font {
	font-family: Gill Sans MT, sans-serif;
}

.justified { text-align: justify; }

/* Layout */

#main {
	font-family: 'Open Sans', sans-serif;
	width: 950px;
	margin: 0 auto;
	display: block;
}

#header, #footer {
	height: 80px;
	margin: 0 auto;
	font-size: 24px;
	opacity: 0.7;
	background-color: rgb(26, 17, 7);
	-moz-box-shadow: 2px 2px 3px rgb(150, 150, 150);
	-webkit-box-shadow: 2px 2px 3px rgb(150, 150, 150);
	box-shadow: 2px 2px 3px rgb(150, 150, 150);
	color: white;
	padding: 10px;
	margin-bottom: 10px;
	margin-top: 10px;
}

.contents {
	min-height: 375px;
	padding: 5px;
}

.logo, .slogan {
	width: 700px;
	float: left;
}

.inline {
	overflow:hidden;
}

/* Navigation menu */
#nav {
	width: 180px;
	float: right;
	padding-top: 10px;
}

ul#list-nav {
	margin: 0px;
	padding: 0px;
	list-style:none;
}

ul#list-nav li { display:inline; }

/* File upload box */
#upload-area {
	width: 40%;
	padding: 10px;
}

#file-drag {
	border: 2px solid #888;
	border-radius: 5px;
	font-size: 22px;
	text-align: center;
	height: 200px;
	color: #999;
	margin: 5px;
	opacity: 0.5;
}

#file-drag.hover {
	border: 3px solid green;
}

/* = Input form design
----------------------------------*/
#data-input {
	display: block;
	font-size: 14px;
	font-weight: normal;
	display: none;
}
#data-input table {
	margin-left: 5px;
}
#data-input input, #data-input span, #data-input select {
	margin-right: 7px;
}

#data-input th {
	font-weight: normal;
}
/*
#data-input input {
	text-align: center;
}
*/
#data-input table TH {
	vertical-align: top;
	text-align: left;
	font-weight: normal;
}
.resources th {
	padding-right: 10px;
}
#data-input input.small {
	width: 50px;
}
#data-input select {
	height: 22px;
}
#data-input input.medium {
	width: 92px;
}
#data-input input.time {
	width: 70px;
}
#data-input input.percent {
	width: 25px;
}
 /* Result table design */
#result-table {
	margin-top: 60px;
}

#result-table table th {
	color: rgb(147, 137, 90);
	font-style: italic;
	padding-left: 20px;
	padding-right: 20px;
}

#result-table table tr {
	text-align: center;
}

.ui-datepicker {
	width: 200px !important;
	font-size: 12px !important;
}

#arrivalRateDistribution select,#arrivalRateDistribution div,.task div,.task select,.catchEvents td>div,.catchEvents select
	{
	float: left;
}

.trigger {
	text-decoration: none;
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	background-color: rgb(36, 27, 17);
	opacity: 0.8;
	font-size: 10px;
	border: none;
	display: inline-block;
	padding: 3px 8px 3px;
	color: rgb(250, 250, 250);
	font-weight: bold;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	cursor: pointer;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.button, #startSimulationButton, #uploadpageButton, .nav-button, .help-nav-button {
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
	background-color: rgb(36, 27, 17);
	opacity: 0.8;
	font-size: 12px;
	border: none;
	display: inline-block;
	padding: 5px 5px 5px;
	color: rgb(250, 250, 250);
	font-weight: normal;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	cursor: pointer;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.button:disabled {
	display: none;
}

.smallButton {
	margin-left: 10px;
	padding: 1px 1px 1px 1px;
	font-size: 10px;	
}

/* Navigation buttons appearance */
.nav-button {
	background-color: #4ABEC8;
	color: rgb(0,0,0);
	opacity: 1;
}
.help-nav-button {
	background-color: rgb(201,179,133);
	color: black;
	width: 200px;
	font-size: 16px;
	margin-top: 5px;
	text-align: center;
}

.help-nav-button:hover {
	color: #fff;
}
#bimp2-help, #bimpeditors-help, #ui-help {
	display: none;
}
.help-text {
	font-size: 14px;
}

.help-text a {
	text-decoration: none;
}

/* Button on the first page */
#uploadpageButton {
	font-size: 26px;
	padding: 10px 20px 10px;
	text-decoration: none;
}

/* Box for the uploadpageButton */
#uploadpageButtonBox {
	margin: 0 auto;
	width: 339px;
}

/* Hover button appearance */
.button:hover, .trigger:hover, #startSimulationButton:hover, #uploadpageButton:hover {
	background: -moz-linear-gradient(top, rgb(36, 27, 17) 0%, rgb(100, 100, 100) 100% );
	background: -webkit-linear-gradient(top, rgb(36, 27, 17) 0%, rgb(100, 100, 100) 100% );
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 5px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 5px rgba(0, 0, 0, 0.1);
}
.nav-button:hover {
	color: white;
}

/* Clicked button action */
.button:active, .trigger:active, #startSimulationButton:active, #uploadpageButton:active, .nav-button:active,
.help-nav-button:active, #startSimulationButton:active {
	position: relative;
	top: 1px;
}

/* Floating button for starting simulation */
#sim-button-log-checkbox {
	margin: 15px auto;
	width: 200px;
}	
#startSimulationButton {
	font-size: 14px;
	display: none;
	width: 200px;
}
#continue-button {
	position: relative;
	left: 150px;
	margin-top: 10px;
	font-size: 13px;
}

/* Classes for JQuery toggle effect */
.toggle-trigger {
	padding-top: 5px;
	background-color: rgb(26, 17, 7);
	margin-top: 10px;
	margin-bottom: 0;
	height: 28px;
	width: 100%;
	font-size: 1.2em;
	font-weight: normal;
	opacity: 0.6;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 2px 2px #666;
}
.toggle-trigger:first-child {
	margin-top: 0;
}

h2.toggle-trigger a {
	color: white;
	text-decoration: none;
	display: block;
}

h2.toggle-trigger a:hover { color: #ccc; }
h2.toggle-trigger a:active {
	position: relative;
	top: 1px;
}

.toggle-all {
	cursor: pointer;
 	background: -moz-linear-gradient(top, rgb(100, 100, 100) 0%, rgb(26, 17, 7) 100% );
	background: -webkit-linear-gradient(top, rgb(100, 100, 100) 0%, rgb(26, 17, 7) 100% );
	align: center;
	color: white;
	font-size: 12px;
	padding-left: 10px;
	padding-right: 10px;
	opacity: 0.6;
}

.toggle-div {
	margin: 6px 40px 10px 40px;
}

.startEvent:last-child, .resources:last-child, .task:last-child, .timetables:last-child, .gatewayGroup:last-child, .catchEvent:last-child {
	margin-bottom: 0px;
}	

.startEvent, .resources, .task, .timetables, .gatewayGroup, .catchEvent {
	background-color: rgb(245, 245, 245);
	margin-top: 0px;
	margin-bottom: 10px;
	box-shadow: 0 0 5px #bbb;
}

.layout-right {
	width: 100%;
	display: box;                   /* As specified */  
    display: -moz-box;              /* Mozilla */  
    display: -webkit-box;           /* WebKit */
    box-orient: horizontal;           /* As specified */  
    -moz-box-orient: horizontal;      /* Mozilla */  
    -webkit-box-orient: horizontal;   /* WebKit */  
    box-pack: end;                  /* As specified */  
    -moz-box-pack: end;             /* Mozilla */  
    -webkit-box-pack: end;          /* WebKit */
}
.hidden {
	display: none;
}
.gatewayGroup {
	margin-bottom: 10px;
}
.gateway {
	margin-bottom: 0;
}
.slogan h2{
	margin: 5px;
	padding: 0;
}
#introduction {
	text-align: center;
	width: 500px;
	margin: 0 auto;
	margin-top: 50px;
	margin-bottom: 30px;
}

#help-nav {
	margin-top: 10px;
	margin-bottom: 50px;
	width: 25%;
	float: left;
}

#help-text-div {
	width: 75%;
	float: right;
	margin-bottom: 30px;
}

#instructions , #download-div {
	margin: 15px;
	float: right;
	width: 55%;
}
#download-div {
	text-align: right;
	line-height: 200%;
}
#logCheckBox {
	text-align: center;
	font-size: 13px;
	display: none;
	margin-bottom: 5px;
}
#modal-bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	z-index: 10;
}
#loading {
	position: fixed;
	display: none;
	top: 25%;
	width: 500px;
	height: 150px;
	background-color: rgba(255,255,255,0.92);
	box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.7);
	border-radius: 2px;
	z-index: 11;
}
#modal-bg {
	display: none;
}
#loading h2 {
	font-family: tahoma;
	margin-left: 15px;
}
.progress {
	display: none;
}
.progressBarContainer {
	display: none;
	height: 25px;
	margin: 5px 15px 0 15px;
	border-radius: 3px;
	border: 1px solid #aaa;
	background: rgb(218,218,218); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(218,218,218,1) 0%, rgba(244,244,244,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(218,218,218,1)), color-stop(100%,rgba(244,244,244,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(218,218,218,1) 0%,rgba(244,244,244,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(218,218,218,1) 0%,rgba(244,244,244,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(218,218,218,1) 0%,rgba(244,244,244,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(218,218,218,1) 0%,rgba(244,244,244,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dadada', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */
}

.progressBar {
	height: 100%;
	background: rgb(183,222,237); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(183,222,237,1) 0%, rgba(113,206,239,1) 50%, rgba(33,180,226,1) 51%, rgba(183,222,237,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(183,222,237,1)), color-stop(50%,rgba(113,206,239,1)), color-stop(51%,rgba(33,180,226,1)), color-stop(100%,rgba(183,222,237,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(183,222,237,1) 0%,rgba(113,206,239,1) 50%,rgba(33,180,226,1) 51%,rgba(183,222,237,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(183,222,237,1) 0%,rgba(113,206,239,1) 50%,rgba(33,180,226,1) 51%,rgba(183,222,237,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(183,222,237,1) 0%,rgba(113,206,239,1) 50%,rgba(33,180,226,1) 51%,rgba(183,222,237,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(183,222,237,1) 0%,rgba(113,206,239,1) 50%,rgba(33,180,226,1) 51%,rgba(183,222,237,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7deed', endColorstr='#b7deed',GradientType=0 ); /* IE6-9 */
}
#contactPage {
	height: 540px;
}

#fb-google {
	width: 80px;
	float: right;
	top: 5px;
}
#facebook-box {
	margin-top: 20px;
	width: 500px;
	float: right;	
}

#contact-info {
	width: 350px;
	float: left;
}

#plusone {
	margin-top: 7px;
	float: right;
}

#footer-text {
	float: left;
	width: 200px;
	text-align: center;
	position: relative;
	left: 360px;
}

.tooltip {
	font-family: Gill Sans MT, sans-serif;
	background-color: rgb(36, 27, 17);
	border:1px solid #fff;
	padding:10px 15px;
	width:180px;
	display:none;
	color:#eee;
	text-align:center;
	font-size:12px;

	/* outline radius for mozilla/firefox only */
	-moz-box-shadow:0 0 10px #000;
	-webkit-box-shadow:0 0 10px #000;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
.ui-timepicker-div dl{ text-align: left; }
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }

.status {
	display: block;
	margin: 30px 0 0 15px;
	font-weight: normal;
	color: #333;
	font-size: 12px;
	font-family: Tahoma;
}
.error .title {
	color: red;
}
.error {
	background-color: rgba(255,230,230,0.92)!important;
}
.close {
    display: none;
    position: absolute;
    width: 22px;
    height: 22px;
    right: -9px;
    top: -9px;
    background: rgb(206,220,231); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(206,220,231,1) 0%, rgba(89,106,114,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(206,220,231,1)), color-stop(100%,rgba(89,106,114,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cedce7', endColorstr='#596a72',GradientType=0 ); /* IE6-9 */	color: white;
    border: 2px solid white;
    border-radius: 15px;
    font-family: tahoma;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
	background: #55aaee;
}
.close span {
	position: absolute;
	left: 6px;
	top: 0;
}
#results, #contactPage {
	clear: both;
}
.chart {
	width: 445px;
	float: left;
}
.source {
	box-shadow: 0 0 10px #ff0000;	
	border-top: 3px solid #666;
	margin-top: -3px;
}
.target {
	box-shadow: 0 0 10px #4ABEC8;
	border-top: 3px solid #666;
	margin-top: -3px;
}
.focus {
	border-top: 3px solid #666;
	margin-top: -3px;
}
.sourceText,.targetText {
	color: #666;
}
#browser {
	width: 100%;
	height: 50px;
	background-color: rgb(135, 0, 0);
	font-size: 12px;
	color: white;
	box-shadow: 0 0 5px 3px #DDD;
}
#browserWarning {
	position: absolute;
	top: 10px;
	margin-left:100px;
	width: 700px;
	float: left;
}
#browserIcons {
	position: absolute;
	right: 0;
	top: 10px;
	width: 100px;
	float: right;
}

#results table TD{
	padding-top: 10px;
	padding-right: 32px;
	padding-left: 32px;
}

#loading .top {
	border-bottom: 1px solid rgba(190, 190, 190, 0.5);
	box-shadow: 0 1px rgba(255,255,255,0.5);
}
#loading.error .top {
	border-bottom: 1px solid rgba(220, 220, 220, 1);
	box-shadow: 0 1px rgba(255,255,255,1);
}